<style>
    .xh-form .btn{
        margin-right: 0px;
    }
    /*.xh-form tr td:nth-child(2n){*/
        /*padding: 5px 20px 5px 0;*/
    /*}*/
    td >label{
        float: right;
        margin-top: 5px;
    }
    body{
        background-color: #f9f9f9;
    }

</style>
<form id="xh_form"   method="post"    style="margin-left: 20px;">
    <div class="xh-area-form">
        <table style="width: 100%" class="table" >
            {% if info['showStu']  %}
                <tr>
                    <td style="width: 75px;"><label>收费模式</label></td>
                    <td style="width: 175px;">
                        <select name="iChargeMode" >
                            <option value="">请选择</option>
                            {% for id,text in chargeMode %}
                                <option value="{{ id }}" {% if id == info['iChargeMode'] %} selected {% endif %}>{{ text }}</option>
                            {% endfor %}
                        </select>
                    </td>
                    <td style="width: 75px;"><label>学生机类型</label></td>
                    <td>
                        <select name="iProdId">
                            {% for id,text in prods %}
                                <option value="{{ id }}" {% if id == info['iProdId']  %} selected {% endif %} >{{ text }}</option>
                            {% endfor %}
                        </select>
                    </td>
                </tr>
            {% endif %}
            {% if info['showShell'] %}
                <tr class="info">
                    <th colspan="2">平板壳类型</th>
                    <th colspan="2">平板壳数目</th>
                </tr>
                {% for i,item in info['mTabletShell']  %}
                    <tr class="mTabletShell">
                        <td colspan="2">
                            <select name="prodId" indexId="{{ item['prodId'] }}">
                                {% for id,text in shell %}
                                    <option value="{{ id }}" {% if id == item['prodId']  %} selected {% endif %} >{{ text }}</option>
                                {% endfor %}
                            </select>
                        </td>
                        <td colspan="2">
                            <input name="iNum" value="{{ item['iNum'] }}" readonly>
                        </td>
                    </tr>
                {% endfor %}
            {% endif %}
            {% if info['showTch']  %}
                <tr class="info">
                    <th style="width: 200px;">姓名</th>
                    <th style="width: 200px;">机型</th>
                    <th colspan="2">设备号</th>
                </tr>
                {% for i,item in info['mTchCode'] %}
                    <tr class="mTchCode" indexId="{{ i }}">
                        <td>
                           <div data-name="name" >{% if tch is defined %} {{ tch[i] }} {% else %} {{ info['iCreateUserId'] }}  {% endif %}</div>
                        </td>
                        <td>
                            <select name="prod" >
                                {% for id,text in prods %}
                                    <option value="{{ id }}" {% if id == item['iProdId']  %} selected {% endif %} >{{ text }}</option>
                                {% endfor %}
                            </select>
                        </td>
                        <td>
                            <input name="code" value="{{ item['code'] }}" readonly>
                        </td>
                    </tr>
                {% endfor %}
            {% endif  %}
        </table>
    </div>
</form>